[INFO] cloning repository https://github.com/obscuren/jev_os
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/obscuren/jev_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobscuren%2Fjev_os", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobscuren%2Fjev_os'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10cc2e61b30f2aa3ff02f33d016195c1c66f2b2b
[INFO] checking obscuren/jev_os against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobscuren%2Fjev_os" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/obscuren/jev_os on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/obscuren/jev_os
[INFO] finished tweaking git repo https://github.com/obscuren/jev_os
[INFO] tweaked toml for git repo https://github.com/obscuren/jev_os written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/obscuren/jev_os already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/phil-opp/multiboot2-elf64`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0c30747655344f3459611f54a85847f51977d97bc899283e64c4f2c9b13ce830
[INFO] running `Command { std: "docker" "start" "-a" "0c30747655344f3459611f54a85847f51977d97bc899283e64c4f2c9b13ce830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c30747655344f3459611f54a85847f51977d97bc899283e64c4f2c9b13ce830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c30747655344f3459611f54a85847f51977d97bc899283e64c4f2c9b13ce830", kill_on_drop: false }`
[INFO] [stdout] 0c30747655344f3459611f54a85847f51977d97bc899283e64c4f2c9b13ce830
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4af7032a11aa30a046c5f1e7c3a74b979faf144a5f06e58e4adad49e90b9bfc5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4af7032a11aa30a046c5f1e7c3a74b979faf144a5f06e58e4adad49e90b9bfc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking rlibc v1.0.0
[INFO] [stderr]     Checking multiboot2 v0.9.0 (https://github.com/phil-opp/multiboot2-elf64#30d64f41)
[INFO] [stderr]     Checking jev_os v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt`
[INFO] [stdout]   --> src/lib.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[lang = "panic_fmt"]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[panic_handler]` function required, but not found
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> src/memory/area_frame_allocator.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     areas: MemoryAreaIter,
[INFO] [stdout]   |            ^^^^^^^^^^^^^^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AreaFrameAllocator<'a> {
[INFO] [stdout] 5 |     next_free_frame: Frame,
[INFO] [stdout] 6 |     current_area: Option<&'static MemoryArea>,
[INFO] [stdout] 7 |     areas: MemoryAreaIter<'a>,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]  --> src/vga_buffer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ptr::Unique;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/vga_buffer.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |     buffer: Unique<Buffer>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/vga_buffer.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |     buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]     |                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/vga_buffer.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |             buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality`
[INFO] [stdout]   --> src/lib.rs:67:1
[INFO] [stdout]    |
[INFO] [stdout] 67 | extern fn eh_personality() {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on)
[INFO] [stdout]    = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/72f88fc4e9458f89516a0b8b0868f3718aec5b47/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a9e48811766e19b7.rlib
[INFO] [stdout]    = note: second definition in the local crate (`jev_os`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt`
[INFO] [stdout]   --> src/lib.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[lang = "panic_fmt"]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> src/memory/area_frame_allocator.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     areas: MemoryAreaIter,
[INFO] [stdout]   |            ^^^^^^^^^^^^^^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AreaFrameAllocator<'a> {
[INFO] [stdout] 5 |     next_free_frame: Frame,
[INFO] [stdout] 6 |     current_area: Option<&'static MemoryArea>,
[INFO] [stdout] 7 |     areas: MemoryAreaIter<'a>,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]  --> src/vga_buffer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ptr::Unique;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/vga_buffer.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |     buffer: Unique<Buffer>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]    --> src/vga_buffer.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |     buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]     |                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData<T>` (if you also use `#[may_dangle]`), `Send`, and/or `Sync`
[INFO] [stdout]   --> src/vga_buffer.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |             buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]    --> src/vga_buffer.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |     buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]     |                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]    --> src/vga_buffer.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |     buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]     |                      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/vga_buffer.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |     buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Unique<Buffer>`
[INFO] [stdout]                  found enum `Option<Unique<_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/lib.rs:34:60
[INFO] [stdout]    |
[INFO] [stdout] 34 |         println!("    start: 0x{:x}, length: 0x{:x}", area.base_addr, area.length);
[INFO] [stdout]    |                                                            ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/lib.rs:34:76
[INFO] [stdout]    |
[INFO] [stdout] 34 |         println!("    start: 0x{:x}, length: 0x{:x}", area.base_addr, area.length);
[INFO] [stdout]    |                                                                            ^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:41:75
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags);
[INFO] [stdout]    |                                                                           ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:41:89
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags);
[INFO] [stdout]    |                                                                                         ^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size(), section.flags);
[INFO] [stdout]    |                                                                                             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `flags` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:41:103
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags);
[INFO] [stdout]    |                                                                                                       ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags());
[INFO] [stdout]    |                                                                                                            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:44:62
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let kernel_start = elf_sections_tag.sections().map(|s| s.addr).min().unwrap();
[INFO] [stdout]    |                                                              ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:45:60
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let kernel_end = elf_sections_tag.sections().map(|s| s.addr+s.size).max().unwrap();
[INFO] [stdout]    |                                                            ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:45:67
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let kernel_end = elf_sections_tag.sections().map(|s| s.addr+s.size).max().unwrap();
[INFO] [stdout]    |                                                                   ^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let kernel_end = elf_sections_tag.sections().map(|s| s.addr+s.size()).max().unwrap();
[INFO] [stdout]    |                                                                       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `total_size` on type `BootInformation`
[INFO] [stdout]   --> src/lib.rs:48:54
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let multiboot_end = multiboot_start + (boot_info.total_size as usize);
[INFO] [stdout]    |                                                      ^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let multiboot_end = multiboot_start + (boot_info.total_size() as usize);
[INFO] [stdout]    |                                                                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]   --> src/vga_buffer.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |             buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/vga_buffer.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |             buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Unique<Buffer>`
[INFO] [stdout]                 found enum `Option<Unique<_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique<Buffer>` in the current scope
[INFO] [stdout]    --> src/vga_buffer.rs:111:30
[INFO] [stdout]     |
[INFO] [stdout] 111 |         unsafe { self.buffer.get_mut() }
[INFO] [stdout]     |                              ^^^^^^^ method not found in `Unique<Buffer>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0621]: explicit lifetime required in the type of `memory_areas`
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |                memory_areas: MemoryAreaIter) -> AreaFrameAllocator
[INFO] [stdout]    |                              -------------- help: add explicit lifetime `'static` to the type of `memory_areas`: `MemoryAreaIter<'static>`
[INFO] [stdout] ...
[INFO] [stdout] 22 |             areas: memory_areas,
[INFO] [stdout]    |                    ^^^^^^^^^^^^ lifetime `'static` required
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:34:49
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                                 ^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |         }).min_by(|area| area.base_addr);
[INFO] [stdout]    |            ^^^^^^ ------ takes 1 argument
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected closure that takes 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:39:62
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let start_frame = Frame::containing_address(area.base_addr as usize);
[INFO] [stdout]    |                                                              ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:54:36
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                    ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                                     ^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt::Write`
[INFO] [stdout]  --> src/vga_buffer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0522, E0593, E0599, E0609, E0615, E0616, E0621...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jev_os`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/vga_buffer.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 |     buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Unique<Buffer>`
[INFO] [stdout]                  found enum `Option<Unique<_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/lib.rs:34:60
[INFO] [stdout]    |
[INFO] [stdout] 34 |         println!("    start: 0x{:x}, length: 0x{:x}", area.base_addr, area.length);
[INFO] [stdout]    |                                                            ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/lib.rs:34:76
[INFO] [stdout]    |
[INFO] [stdout] 34 |         println!("    start: 0x{:x}, length: 0x{:x}", area.base_addr, area.length);
[INFO] [stdout]    |                                                                            ^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:41:75
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags);
[INFO] [stdout]    |                                                                           ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:41:89
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags);
[INFO] [stdout]    |                                                                                         ^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size(), section.flags);
[INFO] [stdout]    |                                                                                             ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `flags` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:41:103
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags);
[INFO] [stdout]    |                                                                                                       ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 41 |         println!("    addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", section.addr, section.size, section.flags());
[INFO] [stdout]    |                                                                                                            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:44:62
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let kernel_start = elf_sections_tag.sections().map(|s| s.addr).min().unwrap();
[INFO] [stdout]    |                                                              ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `addr` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:45:60
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let kernel_end = elf_sections_tag.sections().map(|s| s.addr+s.size).max().unwrap();
[INFO] [stdout]    |                                                            ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `size` on type `ElfSection`
[INFO] [stdout]   --> src/lib.rs:45:67
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let kernel_end = elf_sections_tag.sections().map(|s| s.addr+s.size).max().unwrap();
[INFO] [stdout]    |                                                                   ^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let kernel_end = elf_sections_tag.sections().map(|s| s.addr+s.size()).max().unwrap();
[INFO] [stdout]    |                                                                       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `total_size` on type `BootInformation`
[INFO] [stdout]   --> src/lib.rs:48:54
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let multiboot_end = multiboot_start + (boot_info.total_size as usize);
[INFO] [stdout]    |                                                      ^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let multiboot_end = multiboot_start + (boot_info.total_size() as usize);
[INFO] [stdout]    |                                                                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals'
[INFO] [stdout]   --> src/vga_buffer.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |             buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(ptr_internals)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/vga_buffer.rs:78:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |             buffer: unsafe { Unique::new(0xb8000 as *mut _) },
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Unique<Buffer>`
[INFO] [stdout]                 found enum `Option<Unique<_>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique<Buffer>` in the current scope
[INFO] [stdout]    --> src/vga_buffer.rs:111:30
[INFO] [stdout]     |
[INFO] [stdout] 111 |         unsafe { self.buffer.get_mut() }
[INFO] [stdout]     |                              ^^^^^^^ method not found in `Unique<Buffer>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0621]: explicit lifetime required in the type of `memory_areas`
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |                memory_areas: MemoryAreaIter) -> AreaFrameAllocator
[INFO] [stdout]    |                              -------------- help: add explicit lifetime `'static` to the type of `memory_areas`: `MemoryAreaIter<'static>`
[INFO] [stdout] ...
[INFO] [stdout] 22 |             areas: memory_areas,
[INFO] [stdout]    |                    ^^^^^^^^^^^^ lifetime `'static` required
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:34:49
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                                 ^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |         }).min_by(|area| area.base_addr);
[INFO] [stdout]    |            ^^^^^^ ------ takes 1 argument
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected closure that takes 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:39:62
[INFO] [stdout]    |
[INFO] [stdout] 39 |             let start_frame = Frame::containing_address(area.base_addr as usize);
[INFO] [stdout]    |                                                              ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `base_addr` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:54:36
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                    ^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `length` of struct `MemoryArea` is private
[INFO] [stdout]   --> src/memory/area_frame_allocator.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 let address = area.base_addr + area.length - 1;
[INFO] [stdout]    |                                                     ^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt::Write`
[INFO] [stdout]  --> src/vga_buffer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0152, E0308, E0522, E0593, E0599, E0609, E0615, E0616...
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4af7032a11aa30a046c5f1e7c3a74b979faf144a5f06e58e4adad49e90b9bfc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4af7032a11aa30a046c5f1e7c3a74b979faf144a5f06e58e4adad49e90b9bfc5", kill_on_drop: false }`
[INFO] [stdout] 4af7032a11aa30a046c5f1e7c3a74b979faf144a5f06e58e4adad49e90b9bfc5
